UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The Photon operating system must configure sshd to restrict AllowTcpForwarding.


Overview

Finding ID Version Rule ID IA Controls Severity
V-256587 PHTN-30-000119 SV-256587r887435_rule Medium
Description
While enabling Transmission Control Protocol (TCP) tunnels is a valuable function of sshd, this feature is not appropriate for use on single-purpose appliances.
STIG Date
VMware vSphere 7.0 vCenter Appliance Photon OS Security Technical Implementation Guide 2023-06-15

Details

Check Text ( C-60262r887433_chk )
At the command line, run the following command:

# sshd -T|&grep -i AllowTcpForwarding

Expected result:

allowtcpforwarding no

If the output does not match the expected result, this is a finding.
Fix Text (F-60205r887434_fix)
Navigate to and open:

/etc/ssh/sshd_config

Ensure the "AllowTcpForwarding" line is uncommented and set to the following:

AllowTcpForwarding no

At the command line, run the following command:

# systemctl restart sshd.service